package cn.jobstart.search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.jobstart.pubInter.BaseSearch;
import cn.jobstart.model.ResumeCapabilityLabel;
import java.util.Date;
import java.util.List;
import java.math.BigDecimal;
import lombok.Data;
/**
*   @author sunke
*   @Date 2023-09-22 22:03:53
*   @description ResumeCapabilityLabelSearch      简历能力标签
*/


@Data
@ApiModel("简历能力标签ResumeCapabilityLabelSearch")
public abstract class ResumeCapabilityLabelSearch<Sub extends ResumeCapabilityLabelSearch<Sub>> extends BaseSearch {
    @ApiModelProperty(value = "主键")
    private List idIn;
    @ApiModelProperty(value = "求职者id	")
    private String kzpStudentIdEq;
    @ApiModelProperty(value = "旧简历id")
    private String oldResumesIdEq;
    @ApiModelProperty(value = "开始(数据来源)简历创建时间")
    private Date resumeCreateTimeStart;
    @ApiModelProperty(value = "结束(数据来源)简历创建时间")
    private Date resumeCreateTimeEnd;
    @ApiModelProperty(value = "简历id")
    private String resumesIdEq;
    @ApiModelProperty(value = "大于排序")
    private Integer sortNumGreater;
    @ApiModelProperty(value = "小于排序")
    private Integer sortNumLess;
    @ApiModelProperty(value = "是否显示 1:是:Y,0:否:N")
    private List showFlagIn;
    @ApiModelProperty(value = "是否删除 1:删除:Y,0:正常:N")
    private Integer delFlagEq=0;
    @ApiModelProperty(value = "版本")
    private Integer verisonEq;

    public ResumeCapabilityLabelSearch() {
        setDelFlagEq(0);
    }



    /**
    * 返回子类Sub
    * @return
    */
    public abstract Sub getSubThis();

    @Override
    public String createTimeFiled() {
        return ResumeCapabilityLabel.CREATE_TIME;
    }
    @Override
    public String updateTimeFiled() {
        return ResumeCapabilityLabel.UPDATE_TIME;
    }
    @Override
    public String  setDefaultField() {
        return ResumeCapabilityLabel.CREATE_TIME;
    }
    @Override
    public String pkField() {
        return ResumeCapabilityLabel.ID;
    }

    @Override
    public String  toString() {
        return "ResumeCapabilityLabelSearch{}"+super.toString();
    }
    public Sub setIdIn(List idIn){
        this.idIn = idIn;
        setInField(ResumeCapabilityLabel.ID, idIn);
        return getSubThis();
    }
    public Sub setKzpStudentIdEq(String kzpStudentIdEq){
        this.kzpStudentIdEq = kzpStudentIdEq;
        setEqualField(ResumeCapabilityLabel.KZP_STUDENT_ID, kzpStudentIdEq);
        return getSubThis();
    }
    public Sub setOldResumesIdEq(String oldResumesIdEq){
        this.oldResumesIdEq = oldResumesIdEq;
        setEqualField(ResumeCapabilityLabel.OLD_RESUMES_ID, oldResumesIdEq);
        return getSubThis();
    }
    public Sub setResumeCreateTimeStart(Date resumeCreateTimeStart){
        this.resumeCreateTimeStart = resumeCreateTimeStart;
        setDateStartField(ResumeCapabilityLabel.RESUME_CREATE_TIME, resumeCreateTimeStart);
        return getSubThis();
    }
    public Sub setResumeCreateTimeEnd(Date resumeCreateTimeEnd){
        this.resumeCreateTimeEnd = resumeCreateTimeEnd;
        setDateEndField(ResumeCapabilityLabel.RESUME_CREATE_TIME, resumeCreateTimeEnd);
        return getSubThis();
    }
    public Sub setResumesIdEq(String resumesIdEq){
        this.resumesIdEq = resumesIdEq;
        setEqualField(ResumeCapabilityLabel.RESUMES_ID, resumesIdEq);
        return getSubThis();
    }
    public Sub setSortNumGreater(Integer sortNumGreater){
        this.sortNumGreater = sortNumGreater;
        setGreaterField(ResumeCapabilityLabel.SORT_NUM, sortNumGreater);
        return getSubThis();
    }
    public Sub setSortNumLess(Integer sortNumLess){
        this.sortNumLess = sortNumLess;
        setLessField(ResumeCapabilityLabel.SORT_NUM, sortNumLess);
        return getSubThis();
    }
    public Sub setShowFlagIn(List showFlagIn){
        this.showFlagIn = showFlagIn;
        setInField(ResumeCapabilityLabel.SHOW_FLAG, showFlagIn);
        return getSubThis();
    }
    public Sub setDelFlagEq(Integer delFlagEq){
        this.delFlagEq = delFlagEq;
        setEqualField(ResumeCapabilityLabel.DEL_FLAG, delFlagEq);
        return getSubThis();
    }
    public Sub setVerisonEq(Integer verisonEq){
        this.verisonEq = verisonEq;
        setEqualField(ResumeCapabilityLabel.VERISON, verisonEq);
        return getSubThis();
    }
}